<template name="helloComp">
	<view>
		{{msg}}
		<view>
			<input type="text" :value="myval" class="txt"/>
		</view>
	</view>
</template>

<script>
	export default {
		
		name: "helloComp",
		data() {
			return {
				msg:"额"
			};
		},
		//定义组件内部使用的属性
		props: {
			//自定义变量
			myval: {
				type: String
			}
		}
	}
</script>

<style>
/* .movie-score-wapper {
	direction: flex;
	flex-direction: row;
}
.movie-score {
	font-size: 12upx;
	color: gray;
	margin-left: 8upx;
}
.star-ico {
	width: 20upx;
	height: 20upx;
	margin-top: 6upx;
} */
</style>
